package com.service;

import com.pojo.Department;
import com.vo.DepartmentVo;

import java.util.List;

/**
 * @author mornd
 * @date 2020/11/16 - 10:24
 */
public interface DepartmentService {
    //查询部门集合
    List<Department> findDepartment(DepartmentVo departmentVo);

    //添加bumen
    int addDepartment(Department department);

    //修改部门
    int updateDepartment(Department department);

    //删除部门
    int deleteDepartment(Integer deptId);

    //通过redis缓存查询下拉列表部门集合
    public String findDeptByRedis();
}
